package com.ygqh.baby.mapper;

import com.ygqh.baby.model.ProductCombinationModel;
import com.ygqh.baby.model.ProductCombinationSearchRequest;
import com.ygqh.baby.po.YgProductCombination;
import com.ygqh.baby.po.YgProductCombinationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YgProductCombinationMapper {
    int countByExample(YgProductCombinationExample example);

    int deleteByExample(YgProductCombinationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgProductCombination record);

    int insertSelective(YgProductCombination record);

    List<YgProductCombination> selectByExample(YgProductCombinationExample example);

    YgProductCombination selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgProductCombination record, @Param("example") YgProductCombinationExample example);

    int updateByExample(@Param("record") YgProductCombination record, @Param("example") YgProductCombinationExample example);

    int updateByPrimaryKeySelective(YgProductCombination record);

    int updateByPrimaryKey(YgProductCombination record);

    int countSuper(ProductCombinationSearchRequest searchRequest);

    List<YgProductCombination> selectSuper(ProductCombinationSearchRequest searchRequest);

    ProductCombinationModel selectProductCombinationInfo(@Param("productCombinationId") Long productCombinationId);
}



